fiddle with nmea waypoint status tracking. (#325)
authortsteven4 <tsteven4@users.noreply.github.com>
Wed, 13 Mar 2019 22:15:25 +0000 (16:15 -0600)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2019 22:15:25 +0000 (16:15 -0600)
commit62ae2fadb163ed78373f8741018c0c44bc1a6e6a
treefe532d58e890d227cb8f262f20906e195e1b24bd
parent7070659a99c216afd1e9a64cc3de24b8967c76a5
fiddle with nmea waypoint status tracking. (#325)

Traditionally nmea looks at the Waypoint data member Q
to decide if the Waypoint has been added on to a global list, and
if it has not it deletes the Waypoint so we don't leak memory.

This is problematic when we change the waypoint lists so queues
aren't used.

To overcome this difficulty nmea now uses a derived class of
Waypoint that tracks if the Waypoint has been added or not.
nmea.cc